package coml.jiyun.hp.mvpextract.adapter;

import android.content.Context;

import java.util.ArrayList;

import coml.jiyun.hp.mvpextract.R;
import coml.jiyun.hp.mvpextract.base.BaseRlvAdapter;
import coml.jiyun.hp.mvpextract.bean.NaviBean;

public class RlvAdapter extends BaseRlvAdapter<NaviBean.DataBean> {
    public RlvAdapter(Context mContext, ArrayList<NaviBean.DataBean> list) {
        super(mContext, list);
    }

    @Override
    protected void bindData(BaseViewHolder holder, NaviBean.DataBean dataBean) {
        holder.setText(R.id.tv,dataBean.getName());
    }

    @Override
    protected int getLayout() {
        return R.layout.item;
    }
}